<template>
    <fieldset>
        <legend>详情页</legend>
        <h1>用户名:{{ userInfo.nickname }}</h1>
    </fieldset>
</template>
<script>
import {mapState} from 'vuex'
export default {
    computed: {
        ...mapState(['userInfo'])
    }
}
</script>